import request from '@/utils/request'

// 查询RecommendCourse列表
export function listRecommendCourse(query) {
return request({
url: '/api/v1/edu/platform/recommendCourseList',
method: 'get',
params: query
})
}

// 查询RecommendCourse详细
export function getRecommendCourse (recommendCourseId) {
return request({
url: '/api/v1/edu/platform/recommendCourse/' + recommendCourseId,
method: 'get'
})
}


// 新增RecommendCourse
export function addRecommendCourse(data) {
return request({
url: '/api/v1/edu/platform/recommendCourse',
method: 'post',
data: data
})
}

// 修改RecommendCourse
export function updateRecommendCourse(data) {
return request({
url: '/api/v1/edu/platform/recommendCourse',
method: 'put',
data: data
})
}

// 删除RecommendCourse
export function delRecommendCourse(recommendCourseId) {
return request({
url: '/api/v1/edu/platform/recommendCourse/' + recommendCourseId,
method: 'delete'
})
}